﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TiTi.tea.Dto
{
    public class CouponDto
    {
        public int id { get; set; }
        public decimal? money { get; set; }
        public decimal? reduce { get; set; }
        public string date { get {
                return CreateTime.ToString() + " " + EndTime.ToString();
            } }
        public int status { get; set; }
        public string[] condition { get; set; }

        [JsonIgnore]
        public DateTime? CreateTime { get; set; }
        [JsonIgnore]
        public DateTime? EndTime { get; set; }

    }
}
